import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";
//售后分页
export function orderRefundPage(params?: object) {
  return http({
    url: `/${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderRefund/page`,
    method: "get",
    params
  });
}
//售后List
export function orderRefundList(params?: object) {
  return http({
    url: `/${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderRefund/List`,
    method: "get",
    params
  });
}
//售后审核
export function orderRefundAuditRefundOrder(data?: object) {
  return http({
    url: `/${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderRefund/auditRefundOrder`,
    method: "post",
    data
  });
}
//售后详情
export function orderRefundDetail(params?: object) {
  return http({
    url: `/${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/orderRefund/detail`,
    method: "get",
    params
  });
}
